<?php
/**
 * 用户邮箱验证
 */
header("Content-type:text/html;charset=utf-8");
include '../service/UserService.class.php';
$code = $_GET['activatedCode'];        //接收地址栏内的数据



$userService = new UserService();
$result = $userService->validationEmail($code);
$L = log::get_instance();
$L->log(0,'用户'.$username.'验证邮箱', date('Y-n-j H:m:s'));
$L->close();
if($result) {
	echo "验证完成";
}